#include "keyring.hpp"

KeyRing::KeyRing() {

}

KeyRing::~KeyRing() {

}

void KeyRing::insert(string header) {
  
  if ( headers2keys_.find(header) == headers2keys_.end() ) {
    
    headers2keys_[ header ] = KeyRing::size();
    headers_.push_back( header );
    

  }

}

size_t KeyRing::size() {
  return( headers_.size() );
}
